<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isELIgnored="false" %>

<html>
<body>
<hr>

${userList}

<hr>
<c:forEach items="${userList}" var="user" varStatus="status">
    <tr align="center">
        <td>${user.name}</td>
        <td>${user.age}</td>

        <c:if test="${user.gender == 1}">
            <td>girl</td>
        </c:if>
        <c:if test="${user.gender == 0}">
            <td>boy</td>
        </c:if>
    </tr>
</c:forEach>
</table>
<hr>

<c:forEach begin="1" end="3" step="1" var="i">
    <a href="#">${i}</a>
</c:forEach>

</body>
</html>